//
//  CallCenter.h
//  ZhumuSDKSample
//
//  Copyright 2006-2015 SUIRUI Co., Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Calling.h"

/**
 *  呼叫类型
 */
typedef NS_ENUM(NSInteger, CallType){
    /**
     *  开启即时会议
     */
    Instant_CallType = 100,
    /**
     *  会议号入会
     */
    Join_CallType,
    /**
     *  进入预约会议
     */
    Scheduled_CallType,
};



@interface CallCenter : NSObject

//单例
+(CallCenter *)sharedInsance;

/**
 *  呼叫方法
 *
 *  @param type     呼叫类型
 *  @param info     呼叫信息
 *  @param delegate 呼叫服务的代理对象
 *  @param success  成功时执行的block
 *  @param failure  失败时执行的block
 */
-(void)startCallWithType:(CallType)type info:(Meeting *)info delegate:(id<ZhumuSDKMeetingServiceDelegate>)delegate success:(CALL_SUCCESS)success failure:(CALL_FAILURE)failure;

@end
